package space.sakana.edusysback.entity;

public class User {
    private int id;
    private long code;
    private int grade;
    private String username;
    private String password;
    private int gender;
    private String name;
    private String token;
    private int create;
    private String ip;
    private int lrt;

    public User(int id, long code, int grade, String username, String password, int gender, String name, String token, int create, String ip, int lrt) {
        this.id = id;
        this.code = code;
        this.grade = grade;
        this.username = username;
        this.password = password;
        this.gender = gender;
        this.name = name;
        this.token = token;
        this.create = create;
        this.ip = ip;
        this.lrt = lrt;
    }

    public User(long code, int grade, String username, String password, int gender, String name) {
        this.code = code;
        this.grade = grade;
        this.username = username;
        this.password = password;
        this.gender = gender;
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public long getCode() {
        return code;
    }

    public void setCode(long code) {
        this.code = code;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public int getCreate() {
        return create;
    }

    public void setCreate(int create) {
        this.create = create;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public int getLrt() {
        return lrt;
    }

    public void setLrt(int lrt) {
        this.lrt = lrt;
    }
}
